package yu.liu.personal.app.myapplication.models;

import android.support.annotation.NonNull;

import java.util.List;

/**
 * Created by Administrator on 2016/9/25.
 */

public class AVGItem implements Comparable<AVGItem> {
    public Integer id;
    public String name;
    public String type;
    public Integer stars;
    public Integer hp;
    public Integer armor;
    public Integer shield;
    public Integer resist;
    public Integer scout;
    public Integer atk;
    public Integer spd;
    public Integer equip;
    public Integer oilConsume;
    public Integer ammoConsume;
    public String mainSkill;
    public String subSkill;
    public List<MapEntity> equipDetail;

    public boolean selected = false;

    @Override
    public int compareTo(@NonNull AVGItem another) {
        return this.id.compareTo(another.id);
    }

    public static class MapEntity {
        public String Key;
        public int Value;
    }
}
